home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000295_news@watsun.cc.columbia.edu _Fri Feb 26 15:30:57 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA29519
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Fri, 26 Feb 1999 15:30:56 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id PAA09391
  7.     for kermit.misc@watsun.cc.columbia.edu; Fri, 26 Feb 1999 15:02:33 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  10. Subject: Re: Stopping Kermit programmatically
  11. Date: 26 Feb 1999 20:02:31 GMT
  12. Organization: Columbia University
  13. Message-ID: <7b6ukn$95c$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@mailrelay2.cc.columbia.edu
  15.  
  16. In article <7b6soa$a1p$1@news-2.news.gte.net>,
  17. Daniel W. Levi <dlevi@hworks.com> wrote:
  18. : Hi
  19. : We are running the K95 host as a background app on NT server.  Kermit is
  20. : launched by a native NT service.
  21. : It starts and runs fine, but we're having trouble making it stop.
  22.  
  23. : We can post a WM_QUIT message to it, but kermit does not exit.
  24. : Is this by design?
  25.  
  26. K95 is not a GUI app.  So I don't know where the WM_QUIT message would
  27. be processed.  
  28.  
  29. : I've also tried using the the console functions 
  30. : (GenerateConsoleCtrlEvent()), with no success.  
  31.  
  32. : How can I signal an instance of K95 to exit? 
  33.  
  34. If K95 receives a CTRL_CLOSE_EVENT it will shutdown.
  35.  
  36. CTRL_C_EVENT and CTRL_BREAK_EVENT only interrupt the current command.
  37.  
  38.  
  39.  
  40.     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  41.                  The Kermit Project * Columbia University
  42.               612 West 115th St #716 * New York, NY * 10025
  43.   http://www.kermit-project.org/k95.html * kermit-support@kermit-project.org